<!DOCTYPE html>
<html>
    <head>
        <title>数组差异化 - difference的实现</title>
        <script src="../../src/array/difference.js"></script>
    </head>
    <body>
        <script>
            const arr1 = [1, 2, 3, 4, 5]
            const arr2 = [2, 3, 4, 5, 6]
            const result = difference(arr1, arr2)
            console.log(result) // [1]
        </script>
</html>